
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGShaderParameterInt.h>
#include <OpenSG/OSGShaderParameterIntBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ShaderParameterInt_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_ShaderParameterInt()
{
    scope* osg_ShaderParameterIntBase_scope = new scope(
    class_< osg::ShaderParameterIntBase, bases< osg::ShaderParameter > , boost::noncopyable >("ShaderParameterIntBase", no_init)
//        .def_readonly("ValueFieldMask", &osg::ShaderParameterIntBase::ValueFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::ShaderParameterIntBase::MTInfluenceMask)
        .def("getClassType", &osg::ShaderParameterIntBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::ShaderParameterIntBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::ShaderParameterIntBase::*)() )&osg::ShaderParameterIntBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::ShaderParameterIntBase::*)() const)&osg::ShaderParameterIntBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::ShaderParameterIntBase::getContainerSize)
        //.def("getValue", (osg::Int32& (osg::ShaderParameterIntBase::*)() )&osg::ShaderParameterIntBase::getValue, return_value_policy< copy_const_reference >())
        .def("getValue", (const osg::Int32& (osg::ShaderParameterIntBase::*)() const)&osg::ShaderParameterIntBase::getValue, return_value_policy< copy_const_reference >())
        .def("setValue", &osg::ShaderParameterIntBase::setValue)
        .def("getBinSize", &osg::ShaderParameterIntBase::getBinSize)
        .def("copyToBin", &osg::ShaderParameterIntBase::copyToBin)
        .def("copyFromBin", &osg::ShaderParameterIntBase::copyFromBin)
        .def("create", &osg::ShaderParameterIntBase::create)
        .def("createEmpty", &osg::ShaderParameterIntBase::createEmpty)
        .def("shallowCopy", &osg::ShaderParameterIntBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::ShaderParameterIntBase::NextFieldId;
    scope().attr("ValueFieldId") = (int)osg::ShaderParameterIntBase::ValueFieldId;

    delete osg_ShaderParameterIntBase_scope;

    class_< osg::ShaderParameterInt, bases< osg::ShaderParameterIntBase > , boost::noncopyable, osg::ShaderParameterIntRefPtr >("ShaderParameterInt", no_init)
        .def("changed", &osg::ShaderParameterInt::changed)
        .def("dump", &osg::ShaderParameterInt::dump, osg_ShaderParameterInt_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::ShaderParameterIntPtr>();
    implicitly_convertible<osg::ShaderParameterIntRefPtr, osg::ShaderParameterIntPtr>();
    implicitly_convertible<osg::ShaderParameterIntPtr, osg::ShaderParameterPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::ShaderParameterIntPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::ShaderParameterIntPtr>);
}

